﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [Table("AA001")]
    public class User:Base
    {
        [StringLength(50)]
        [Column("AA02")]
        public string? Name { get; set; }

        [ForeignKey("P01")]
        public List<Enroll> Enrolls { get; set; }
    }
}
